TArray.Shuffle<T>(T[],Integer) Method

Shuffles the elements in the array starting at the specified index using the Fisher-Yates algorithm.

Namespace: Spring
public
 class procedure Shuffle<T>(var values: array of T;
 index: Integer); overload; static;

Type Parameters

T

Parameters

values
Type: array of T

index
Type: Integer